package com.simple.deploy;

import com.simp.config.Swagger2;
import com.simp.expection.MyExceptionHandler;
import com.simple.deploy.process.InitRunProcess;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Import;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.web.client.RestTemplate;

/**
 * @author pan.shun
 * @since 2022/3/17 14:54
 */
@EnableAsync
@Import({MyExceptionHandler.class, Swagger2.class, RestTemplate.class})
@SpringBootApplication
public class SimpleLabelDeployApplication {

    public static void main(String[] args) throws Exception {
        InitRunProcess.initStartConfig(args);
        SpringApplication.run(SimpleLabelDeployApplication.class, args);
    }
}
